package com.zhz.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 
 * @date ：Created in 2021/02/07
 * @version: V1.0
 * @slogan: 天下风云出我辈，一入代码岁月催
 * @description:
 **/
@Configuration
public class HelloWorldConfig {
    //队列
    @Bean
    public Queue setQueue(){
        return new Queue("helloWorldQueue");
    }

}
